home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0035.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  2.6 KB  |  64 lines

  1. ------- Start of forwarded message -------
  2. Received: from cernvax.cern.ch by bernd.cern.ch (AIX 3.1/UCB 5.61/4.03)
  3.           id AA13075; Tue, 4 Feb 92 00:59:29 -2300
  4. Received: by cernvax.cern.ch (5.57/Ultrix2.0-B)
  5.     id AA02837; Tue, 4 Feb 92 00:59:58 +0100
  6. Received: by dxmint.cern.ch (cernvax) (5.57/3.14)
  7.     id AA24681; Tue, 4 Feb 92 00:59:56 +0100
  8. Received: from nic.cic.net by quake.think.com (4.1/SMI-4.0)
  9.     id AA02414; Mon, 3 Feb 92 15:42:59 PST
  10. Received: by nic.cic.net (4.1/SMI-4.1)
  11.     id AA09725; Mon, 3 Feb 92 18:41:34 EST
  12. Message-Id: <9202032341.AA09725@nic.cic.net>
  13. In-Reply-To: Your message of "Mon, 20 Jan 92 10:19:51 +0100."
  14.              <9201200919.AA05201@ nxoc01.cern.ch > 
  15. From: emv@cic.net
  16. To: timbl@nxoc01.cern.ch (Tim Berners-Lee)
  17. Cc: jfg@cernvax.cern.ch, gopher@boombox.micro.umn.edu,
  18.         wais-talk@quake.think.com
  19. Subject: Re: using WWW to follow gopher links 
  20. Date: Mon, 03 Feb 92 18:41:32 -0500
  21.  
  22. Tim,
  23.  
  24. Some more results of wais/www/gopher collaboration.
  25.  
  26. I have a new WAIS server running at wais.cic.net, called
  27. "midwest-weather".  It's fed by loading in a bunch of weather reports
  28. from a gopher at Minnesota every hour.  That system gets them from the
  29. "weather underground" at Michigan using some hairy expect scripts, I
  30. figured it'd be easier to get things out of gopher instead.
  31.  
  32. The script looks like:
  33.  
  34. WEATHER=gopher://mermaid.micro.umn.edu:150/00/Weather
  35. www -n -np ${WEATHER}/Indiana/Fort%20Wayne | sed -e 's/.$//' > fort-wayne.in
  36. www -n -np ${WEATHER}/Indiana/Indianapolis | sed -e 's/.$//' > indianapolis.in
  37. www -n -np ${WEATHER}/Indiana/South%20Bend | sed -e 's/.$//' > south-bend.in
  38. [...]
  39.  
  40. For some reason the gopher files are coming out of www with extra ^M's
  41. on the end, as if they were DOS files; so the sed thing gets rid of them.
  42.  
  43. I don't see a way to do this with just one invocation of www, so
  44. instead it runs once for each file.
  45.  
  46. Neither gopher nor WWW have the notion of a "recursive directory
  47. listing", either some complete overview of the structure of the system
  48. or some skeleton outline.  (I realize it's arbitrarily hard to do so
  49. since any link could point off anywhere else.)  That makes it tougher
  50. to do an archie-style catalog.  I think it wouldn't be that hard to
  51. build a tree-walker for gopher that prints out a list of the
  52. directories on every system that it can find and also the text of all
  53. of the stuff that's in the ".about" directories.  At the very least
  54. I'm doing some of that by hand now (just a script like the one above)
  55. & waising it so I have some clue what all is out there.  *not* a 
  56. replacement for the per-site indexes, but a cross-section.
  57.  
  58. - --Ed
  59.  
  60.  
  61.  
  62. ------- End of forwarded message -------
  63.  
  64.